theme:layout
Purpose
Sets the desired theme layout for the current request.
Call this tag to indicate which Theme layout your page requires.
Example
1 2 3 4 5 6 7 8 9 10 | < html > < head > < theme:layout name = "dialog" /> </ head > < body > < theme:zone name = "body" > < g:render template = "/mycommon/loginForm" /> </ theme:zone > </ body > </ html > |
Attributes
Name | Required? | Description |
---|---|---|
name | Yes | The name of the theme layout desired. |